// 实现图书管理系统后台接口

const express = require('express');
const bodyParser = require('body-parser');
const path = require('path');
const router = require('./router.js');
const app = express();




app.use('/www',express.static(path.join(__dirname, 'public')));
app.use(bodyParser.urlencoded({ extended: false }));
app.use(router);



app.listen(3000, () => {
  console.log("running...")
})